package com.example.word.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 学生对比记录
 * @TableName tb_comp_record
 */
@TableName(value ="tb_comp_record")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CompRecord implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *用户id
     */
    @TableField(value = "u_id")
    private Integer uId;

    /**
     *用户id
     */
    @TableField(value = "t_id")
    private Integer tId;

    /**
     *用户id
     */
    @TableField(value = "template_id")
    private Integer templateId;

    /**
     * 对比文档名称
     */
    @TableField(value = "file_name")
    private String fileName;

    /**
     * 对比模板名称
     */
    @TableField(value = "template_name")
    private String templateName;

    /**
     * 对比结果名称
     */
    @TableField(value = "result_name")
    private String resultName;

    /**
     * 对比结果路径
     */
    @TableField(value = "result_path")
    private String resultPath;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}